package com.aiyige.model.response;

import com.aiyige.model.eshop.Order;

import java.util.ArrayList;
import java.util.List;


public class SearchBuyerOrderListResponse{

//    public List<Order> getVideoCourse() {
//        return videoCourse;
//    }
//
//    List<Order> videoCourse;
//
//    public void setVideoCourse(List<Order> videoCourse) {
//        this.videoCourse = videoCourse;
//    }
//public static final String NOPAY = "nopay";//未付款
//    public static final String CANCELLED = "cancelled";//已取消
//    public static final String NOSHIP = "noship";//待服务/发货
//    public static final String UNCONFIRM = "unconfirm";//待确认
//    public static final String AFTERSALE = "aftersale";//退款/售后


    List<Order> noship;//待服务/发货
    List<Order> nopay;//待付款
    List<Order> aftersale;//退款/售后
    List<Order> unconfirm;//待确认
    List<Order> cancelled;//已取消


    /**
     * 已取消
     * @return
     */
    public List<Order> getCancelled() {
        if (cancelled == null) {
            return new ArrayList<>();
        }
        return cancelled;
    }

    public void setCancelled(List<Order> cancelled) {
        this.cancelled = cancelled;
    }

    /**
     * 待服务/发货
     * @return
     */
    public List<Order> getNoship() {
        if (noship == null) {
            return new ArrayList<>();
        }
        return noship;
    }

    public void setNoship(List<Order> noship) {
        this.noship = noship;
    }

    /**
     * 未付款
     * @return
     */
    public List<Order> getNopay() {
        if (nopay == null) {
            return new ArrayList<>();
        }
        return nopay;
    }

    public void setNopay(List<Order> nopay) {
        this.nopay = nopay;
    }

    /**
     * 退款/售后
     * @return
     */
    public List<Order> getAftersale() {
        if (aftersale == null) {
            return new ArrayList<>();
        }
        return aftersale;
    }

    public void setAftersale(List<Order> aftersale) {
        this.aftersale = aftersale;
    }

    /**
     * 待确认
     * @return
     */
    public List<Order> getUnconfirm() {
        if (unconfirm == null) {
            return new ArrayList<>();
        }
        return unconfirm;
    }

    public void setUnconfirm(List<Order> unconfirm) {
        this.unconfirm = unconfirm;
    }
}

